﻿// ReSharper disable CheckNamespace
namespace System.Security.Cryptography // Must be in the namespace where it exists for the full framework.
// ReSharper restore CheckNamespace
{
   public static class ProtectedData
   {
      public static byte[] Protect(byte[] data, byte[] salt, DataProtectionScope scope)
      {
         // TODO: Obfuscate data, although there's hardly a point since this code is easily viewable since it's in the XAP file.
         return data;
      }

      public static byte[] Unprotect(byte[] encryptedData, byte[] salt, DataProtectionScope scope)
      {
         return encryptedData;
      }
   }
}
